.class public abstract Lcom/esfile/screen/recorder/videos/edit/player/c;
.super Lcom/esfile/screen/recorder/player/h;
.source "VideoRenderPlayer.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/esfile/screen/recorder/videos/edit/player/c$n;,
        Lcom/esfile/screen/recorder/videos/edit/player/c$p;,
        Lcom/esfile/screen/recorder/videos/edit/player/c$q;,
        Lcom/esfile/screen/recorder/videos/edit/player/c$r;,
        Lcom/esfile/screen/recorder/videos/edit/player/c$o;
    }
.end annotation


# instance fields
.field private A:Lcom/esfile/screen/recorder/player/exo/a$h;

.field protected B:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Lcom/esfile/screen/recorder/player/exo/a$i;",
            ">;"
        }
    .end annotation
.end field

.field protected C:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Lcom/esfile/screen/recorder/player/exo/a$g;",
            ">;"
        }
    .end annotation
.end field

.field protected D:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Lcom/esfile/screen/recorder/player/exo/a$c;",
            ">;"
        }
    .end annotation
.end field

.field protected E:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Lcom/esfile/screen/recorder/player/exo/a$j;",
            ">;"
        }
    .end annotation
.end field

.field protected F:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView$g;",
            ">;"
        }
    .end annotation
.end field

.field protected G:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Lcom/esfile/screen/recorder/player/exo/a$d;",
            ">;"
        }
    .end annotation
.end field

.field protected H:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Lcom/esfile/screen/recorder/player/exo/a$h;",
            ">;"
        }
    .end annotation
.end field

.field public I:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Lcom/esfile/screen/recorder/videos/edit/player/c$r;",
            ">;"
        }
    .end annotation
.end field

.field private J:Landroid/widget/SeekBar$OnSeekBarChangeListener;

.field public K:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Lcom/esfile/screen/recorder/videos/edit/player/c$q;",
            ">;"
        }
    .end annotation
.end field

.field private L:I

.field private M:Lcom/esfile/screen/recorder/videos/edit/player/d;

.field private N:Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/IntroOutroTemplateContainer;

.field private O:Les/td;

.field private P:Les/td;

.field private Q:Les/td;

.field private h:Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;

.field protected i:Lcom/esfile/screen/recorder/videos/edit/player/b;

.field private j:Landroid/widget/FrameLayout;

.field private k:Landroid/view/View;

.field private l:Landroid/widget/FrameLayout;

.field private m:Landroid/widget/FrameLayout;

.field private n:Ljava/util/Map;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/Map<",
            "Ljava/lang/String;",
            "Les/od;",
            ">;"
        }
    .end annotation
.end field

.field private o:I

.field private p:I

.field private q:I

.field private r:Les/cd;

.field private s:Z

.field private t:Lcom/esfile/screen/recorder/player/exo/a$g;

.field private u:Lcom/esfile/screen/recorder/player/exo/a$c;

.field private v:I

.field private w:Lcom/esfile/screen/recorder/player/exo/a$j;

.field private x:Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView$g;

.field private y:Lcom/esfile/screen/recorder/player/exo/a$d;

.field private z:Lcom/esfile/screen/recorder/player/exo/a$i;


# direct methods
.method public constructor <init>(Landroid/content/Context;)V
    .locals 1

    const/4 v0, 0x0

    .line 1
    invoke-direct {p0, p1, v0}, Lcom/esfile/screen/recorder/videos/edit/player/c;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
    .locals 1

    const/4 v0, 0x0

    .line 2
    invoke-direct {p0, p1, p2, v0}, Lcom/esfile/screen/recorder/videos/edit/player/c;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
    .locals 0

    .line 3
    invoke-direct {p0, p1, p2, p3}, Lcom/esfile/screen/recorder/player/h;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V

    const/4 p1, -0x1

    .line 4
    iput p1, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->o:I

    .line 5
    iput p1, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->p:I

    .line 6
    iput p1, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->q:I

    const/4 p1, 0x0

    .line 7
    iput-boolean p1, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->s:Z

    .line 8
    new-instance p2, Lcom/esfile/screen/recorder/videos/edit/player/c$h;

    invoke-direct {p2, p0}, Lcom/esfile/screen/recorder/videos/edit/player/c$h;-><init>(Lcom/esfile/screen/recorder/videos/edit/player/c;)V

    iput-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->t:Lcom/esfile/screen/recorder/player/exo/a$g;

    .line 9
    new-instance p2, Lcom/esfile/screen/recorder/videos/edit/player/c$i;

    invoke-direct {p2, p0}, Lcom/esfile/screen/recorder/videos/edit/player/c$i;-><init>(Lcom/esfile/screen/recorder/videos/edit/player/c;)V

    iput-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->u:Lcom/esfile/screen/recorder/player/exo/a$c;

    .line 10
    new-instance p2, Lcom/esfile/screen/recorder/videos/edit/player/c$k;

    invoke-direct {p2, p0}, Lcom/esfile/screen/recorder/videos/edit/player/c$k;-><init>(Lcom/esfile/screen/recorder/videos/edit/player/c;)V

    iput-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->w:Lcom/esfile/screen/recorder/player/exo/a$j;

    .line 11
    new-instance p2, Lcom/esfile/screen/recorder/videos/edit/player/c$l;

    invoke-direct {p2, p0}, Lcom/esfile/screen/recorder/videos/edit/player/c$l;-><init>(Lcom/esfile/screen/recorder/videos/edit/player/c;)V

    iput-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->x:Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView$g;

    .line 12
    new-instance p2, Lcom/esfile/screen/recorder/videos/edit/player/c$m;

    invoke-direct {p2, p0}, Lcom/esfile/screen/recorder/videos/edit/player/c$m;-><init>(Lcom/esfile/screen/recorder/videos/edit/player/c;)V

    iput-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->y:Lcom/esfile/screen/recorder/player/exo/a$d;

    .line 13
    new-instance p2, Lcom/esfile/screen/recorder/videos/edit/player/c$a;

    invoke-direct {p2, p0}, Lcom/esfile/screen/recorder/videos/edit/player/c$a;-><init>(Lcom/esfile/screen/recorder/videos/edit/player/c;)V

    iput-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->z:Lcom/esfile/screen/recorder/player/exo/a$i;

    .line 14
    new-instance p2, Lcom/esfile/screen/recorder/videos/edit/player/c$b;

    invoke-direct {p2, p0}, Lcom/esfile/screen/recorder/videos/edit/player/c$b;-><init>(Lcom/esfile/screen/recorder/videos/edit/player/c;)V

    iput-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->A:Lcom/esfile/screen/recorder/player/exo/a$h;

    .line 15
    new-instance p2, Ljava/util/ArrayList;

    invoke-direct {p2}, Ljava/util/ArrayList;-><init>()V

    iput-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->B:Ljava/util/List;

    .line 16
    new-instance p2, Ljava/util/ArrayList;

    invoke-direct {p2}, Ljava/util/ArrayList;-><init>()V

    iput-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->C:Ljava/util/List;

    .line 17
    new-instance p2, Ljava/util/ArrayList;

    invoke-direct {p2}, Ljava/util/ArrayList;-><init>()V

    iput-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->D:Ljava/util/List;

    .line 18
    new-instance p2, Ljava/util/ArrayList;

    invoke-direct {p2}, Ljava/util/ArrayList;-><init>()V

    iput-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->E:Ljava/util/List;

    .line 19
    new-instance p2, Ljava/util/ArrayList;

    invoke-direct {p2}, Ljava/util/ArrayList;-><init>()V

    iput-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->F:Ljava/util/List;

    .line 20
    new-instance p2, Ljava/util/ArrayList;

    invoke-direct {p2}, Ljava/util/ArrayList;-><init>()V

    iput-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->G:Ljava/util/List;

    .line 21
    new-instance p2, Ljava/util/ArrayList;

    invoke-direct {p2}, Ljava/util/ArrayList;-><init>()V

    iput-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->H:Ljava/util/List;

    .line 22
    new-instance p2, Ljava/util/ArrayList;

    invoke-direct {p2}, Ljava/util/ArrayList;-><init>()V

    iput-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->I:Ljava/util/List;

    .line 23
    new-instance p2, Ljava/util/ArrayList;

    invoke-direct {p2}, Ljava/util/ArrayList;-><init>()V

    iput-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->K:Ljava/util/List;

    .line 24
    iput p1, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->L:I

    .line 25
    new-instance p1, Lcom/esfile/screen/recorder/videos/edit/player/d;

    invoke-direct {p1}, Lcom/esfile/screen/recorder/videos/edit/player/d;-><init>()V

    iput-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->M:Lcom/esfile/screen/recorder/videos/edit/player/d;

    .line 26
    new-instance p1, Ljava/util/HashMap;

    invoke-direct {p1}, Ljava/util/HashMap;-><init>()V

    iput-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->n:Ljava/util/Map;

    .line 27
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/videos/edit/player/c;->j()V

    .line 28
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/player/c;->s()V

    .line 29
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/player/c;->r()V

    .line 30
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/videos/edit/player/c;->i()Lcom/esfile/screen/recorder/videos/edit/player/b;

    move-result-object p1

    iput-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->i:Lcom/esfile/screen/recorder/videos/edit/player/b;

    .line 31
    new-instance p2, Lcom/esfile/screen/recorder/videos/edit/player/c$n;

    const/4 p3, 0x0

    invoke-direct {p2, p0, p3}, Lcom/esfile/screen/recorder/videos/edit/player/c$n;-><init>(Lcom/esfile/screen/recorder/videos/edit/player/c;Lcom/esfile/screen/recorder/videos/edit/player/c$e;)V

    invoke-virtual {p1, p2}, Lcom/esfile/screen/recorder/videos/edit/player/b;->setOnPauseClickListener(Landroid/view/View$OnClickListener;)V

    .line 32
    new-instance p1, Lcom/esfile/screen/recorder/videos/edit/player/c$e;

    invoke-direct {p1, p0}, Lcom/esfile/screen/recorder/videos/edit/player/c$e;-><init>(Lcom/esfile/screen/recorder/videos/edit/player/c;)V

    invoke-virtual {p0, p1}, Lcom/esfile/screen/recorder/videos/edit/player/c;->setVideoSection(Les/td;)V

    return-void
.end method

.method private a(ILes/cd;)I
    .locals 4

    .line 12
    iget-object v0, p2, Les/cd;->b:Les/cd$s;

    const/4 v1, 0x0

    if-eqz v0, :cond_0

    const/4 v0, 0x2

    invoke-direct {p0, v0}, Lcom/esfile/screen/recorder/videos/edit/player/c;->h(I)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 13
    iget-object v0, p2, Les/cd;->b:Les/cd$s;

    goto :goto_0

    :cond_0
    move-object v0, v1

    .line 14
    :goto_0
    iget-object v2, p2, Les/cd;->c:Les/cd$m;

    if-eqz v2, :cond_1

    const/4 v2, 0x4

    invoke-direct {p0, v2}, Lcom/esfile/screen/recorder/videos/edit/player/c;->h(I)Z

    move-result v2

    if-eqz v2, :cond_1

    .line 15
    iget-object v2, p2, Les/cd;->c:Les/cd$m;

    goto :goto_1

    :cond_1
    move-object v2, v1

    .line 16
    :goto_1
    iget-object v3, p2, Les/cd;->k:Les/cd$o;

    if-eqz v3, :cond_2

    const/16 v3, 0x8

    invoke-direct {p0, v3}, Lcom/esfile/screen/recorder/videos/edit/player/c;->h(I)Z

    move-result v3

    if-eqz v3, :cond_2

    .line 17
    iget-object v1, p2, Les/cd;->k:Les/cd$o;

    :cond_2
    int-to-long p1, p1

    .line 18
    invoke-static {v0, v2, v1, p1, p2}, Les/rd;->a(Les/cd$s;Les/cd$m;Les/cd$o;J)J

    move-result-wide p1

    long-to-int p2, p1

    return p2
.end method

.method static synthetic a(Lcom/esfile/screen/recorder/videos/edit/player/c;I)I
    .locals 0

    .line 3
    invoke-direct {p0, p1}, Lcom/esfile/screen/recorder/videos/edit/player/c;->g(I)I

    move-result p0

    return p0
.end method

.method private a(II)V
    .locals 2

    .line 74
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->I:Ljava/util/List;

    if-eqz v0, :cond_0

    .line 75
    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v0

    :goto_0
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v1

    if-eqz v1, :cond_0

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/esfile/screen/recorder/videos/edit/player/c$r;

    .line 76
    invoke-interface {v1, p1, p2}, Lcom/esfile/screen/recorder/videos/edit/player/c$r;->a(II)V

    goto :goto_0

    :cond_0
    return-void
.end method

.method private a(III)V
    .locals 1

    .line 19
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->P:Les/td;

    if-eqz v0, :cond_0

    .line 20
    invoke-interface {v0}, Les/td;->getDuration()I

    move-result v0

    add-int/2addr p2, v0

    .line 21
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->P:Les/td;

    invoke-interface {v0}, Les/td;->a()I

    move-result v0

    add-int/2addr p1, v0

    .line 22
    :cond_0
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->Q:Les/td;

    if-eqz v0, :cond_1

    .line 23
    invoke-interface {v0}, Les/td;->getDuration()I

    move-result v0

    add-int/2addr p2, v0

    .line 24
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->Q:Les/td;

    invoke-interface {v0}, Les/td;->getDuration()I

    move-result v0

    sub-int v0, p2, v0

    if-lt p1, v0, :cond_1

    .line 25
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->Q:Les/td;

    invoke-interface {v0}, Les/td;->a()I

    move-result v0

    add-int/2addr p1, v0

    .line 26
    :cond_1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->i:Lcom/esfile/screen/recorder/videos/edit/player/b;

    if-eqz v0, :cond_2

    .line 27
    invoke-virtual {v0, p1, p2, p3}, Lcom/esfile/screen/recorder/player/controller/a;->a(III)V

    :cond_2
    return-void
.end method

.method private a(Lcom/esfile/screen/recorder/player/exo/a;)V
    .locals 3

    .line 28
    iget v0, p0, Lcom/esfile/screen/recorder/player/h;->a:I

    const/4 v1, 0x3

    if-ne v0, v1, :cond_0

    return-void

    :cond_0
    const/4 v2, 0x4

    if-eq v0, v2, :cond_2

    .line 29
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->P:Les/td;

    if-eqz v0, :cond_1

    .line 30
    invoke-interface {v0}, Les/td;->getDuration()I

    move-result v2

    invoke-interface {v0, v2}, Les/td;->seekTo(I)V

    .line 31
    :cond_1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->Q:Les/td;

    if-eqz v0, :cond_2

    .line 32
    invoke-interface {v0}, Les/td;->a()I

    move-result v0

    if-nez v0, :cond_2

    .line 33
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->Q:Les/td;

    invoke-interface {v0}, Les/td;->start()V

    .line 34
    :cond_2
    iput v1, p0, Lcom/esfile/screen/recorder/player/h;->a:I

    .line 35
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->h:Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;

    invoke-virtual {v0}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->pause()V

    .line 36
    invoke-direct {p0, p1}, Lcom/esfile/screen/recorder/videos/edit/player/c;->b(Lcom/esfile/screen/recorder/player/exo/a;)V

    const/4 p1, 0x0

    .line 37
    invoke-virtual {p0, p1}, Lcom/esfile/screen/recorder/player/h;->a(I)V

    return-void
.end method

.method static synthetic a(Lcom/esfile/screen/recorder/videos/edit/player/c;)V
    .locals 0

    .line 1
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/player/c;->x()V

    return-void
.end method

.method static synthetic a(Lcom/esfile/screen/recorder/videos/edit/player/c;III)V
    .locals 0

    .line 5
    invoke-direct {p0, p1, p2, p3}, Lcom/esfile/screen/recorder/videos/edit/player/c;->a(III)V

    return-void
.end method

.method static synthetic a(Lcom/esfile/screen/recorder/videos/edit/player/c;Lcom/esfile/screen/recorder/player/exo/a;)V
    .locals 0

    .line 2
    invoke-direct {p0, p1}, Lcom/esfile/screen/recorder/videos/edit/player/c;->a(Lcom/esfile/screen/recorder/player/exo/a;)V

    return-void
.end method

.method static synthetic a(Lcom/esfile/screen/recorder/videos/edit/player/c;Les/cd;)V
    .locals 0

    .line 7
    invoke-direct {p0, p1}, Lcom/esfile/screen/recorder/videos/edit/player/c;->a(Les/cd;)V

    return-void
.end method

.method static synthetic a(Lcom/esfile/screen/recorder/videos/edit/player/c;Les/td;)V
    .locals 0

    .line 6
    invoke-direct {p0, p1}, Lcom/esfile/screen/recorder/videos/edit/player/c;->a(Les/td;)V

    return-void
.end method

.method private a(Les/cd;)V
    .locals 4

    .line 38
    new-instance v0, Lcom/esfile/screen/recorder/videos/edit/player/c$j;

    invoke-direct {v0, p0}, Lcom/esfile/screen/recorder/videos/edit/player/c$j;-><init>(Lcom/esfile/screen/recorder/videos/edit/player/c;)V

    .line 39
    new-instance v1, Lcom/esfile/screen/recorder/videos/edit/player/c$o;

    invoke-direct {v1, p0, v0}, Lcom/esfile/screen/recorder/videos/edit/player/c$o;-><init>(Lcom/esfile/screen/recorder/videos/edit/player/c;Landroid/widget/SeekBar$OnSeekBarChangeListener;)V

    .line 40
    new-instance v0, Lcom/esfile/screen/recorder/videos/edit/player/c$p;

    invoke-direct {v0, p0, v1}, Lcom/esfile/screen/recorder/videos/edit/player/c$p;-><init>(Lcom/esfile/screen/recorder/videos/edit/player/c;Landroid/widget/SeekBar$OnSeekBarChangeListener;)V

    .line 41
    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->i:Lcom/esfile/screen/recorder/videos/edit/player/b;

    invoke-virtual {v1, v0}, Lcom/esfile/screen/recorder/player/controller/a;->setOnSeekBarChangeListener(Landroid/widget/SeekBar$OnSeekBarChangeListener;)V

    .line 42
    iget-object v0, p1, Les/cd;->k:Les/cd$o;

    if-eqz v0, :cond_1

    .line 43
    iget-object v1, v0, Les/cd$o;->a:Ljava/util/List;

    if-eqz v1, :cond_1

    .line 44
    invoke-interface {v1}, Ljava/util/List;->isEmpty()Z

    move-result v1

    if-nez v1, :cond_1

    const/16 v1, 0x8

    .line 45
    invoke-direct {p0, v1}, Lcom/esfile/screen/recorder/videos/edit/player/c;->h(I)Z

    move-result v1

    if-nez v1, :cond_0

    goto :goto_0

    .line 46
    :cond_0
    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->M:Lcom/esfile/screen/recorder/videos/edit/player/d;

    iget-object v0, v0, Les/cd$o;->a:Ljava/util/List;

    invoke-virtual {v1, v0}, Lcom/esfile/screen/recorder/videos/edit/player/d;->a(Ljava/util/List;)V

    .line 47
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/videos/edit/player/c;->getDuration()I

    move-result v0

    int-to-long v0, v0

    invoke-static {p1, v0, v1}, Les/rd;->a(Les/cd;J)J

    move-result-wide v0

    goto :goto_1

    :cond_1
    :goto_0
    const/high16 v0, 0x3f800000    # 1.0f

    .line 48
    invoke-virtual {p0, v0}, Lcom/esfile/screen/recorder/videos/edit/player/c;->setPlaybackSpeed(F)V

    .line 49
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->M:Lcom/esfile/screen/recorder/videos/edit/player/d;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/videos/edit/player/d;->a(Ljava/util/List;)V

    .line 50
    iget-object v0, p1, Les/cd;->b:Les/cd$s;

    if-eqz v0, :cond_2

    const/4 v0, 0x2

    invoke-direct {p0, v0}, Lcom/esfile/screen/recorder/videos/edit/player/c;->h(I)Z

    move-result v0

    if-eqz v0, :cond_2

    .line 51
    iget-object p1, p1, Les/cd;->b:Les/cd$s;

    .line 52
    invoke-static {p1, v1}, Les/rd;->a(Les/cd$s;Les/cd$o;)J

    move-result-wide v0

    :goto_1
    long-to-int p1, v0

    goto :goto_2

    .line 53
    :cond_2
    iget-object v0, p1, Les/cd;->c:Les/cd$m;

    if-eqz v0, :cond_3

    const/4 v0, 0x4

    invoke-direct {p0, v0}, Lcom/esfile/screen/recorder/videos/edit/player/c;->h(I)Z

    move-result v0

    if-eqz v0, :cond_3

    .line 54
    iget-object p1, p1, Les/cd;->c:Les/cd$m;

    .line 55
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/videos/edit/player/c;->getDuration()I

    move-result v0

    int-to-long v2, v0

    invoke-static {p1, v2, v3, v1}, Les/rd;->a(Les/cd$m;JLes/cd$o;)J

    move-result-wide v0

    goto :goto_1

    .line 56
    :cond_3
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/videos/edit/player/c;->getDuration()I

    move-result p1

    .line 57
    :goto_2
    iput p1, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->v:I

    .line 58
    invoke-virtual {p0, p1}, Lcom/esfile/screen/recorder/videos/edit/player/c;->setMax(I)V

    return-void
.end method

.method private a(Les/td;)V
    .locals 1

    .line 79
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->P:Les/td;

    if-eqz v0, :cond_1

    if-ne v0, p1, :cond_0

    .line 80
    invoke-interface {v0}, Les/td;->start()V

    goto :goto_0

    .line 81
    :cond_0
    invoke-interface {v0}, Les/td;->pause()V

    .line 82
    :cond_1
    :goto_0
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->Q:Les/td;

    if-eqz v0, :cond_3

    if-ne v0, p1, :cond_2

    .line 83
    invoke-interface {v0}, Les/td;->start()V

    goto :goto_1

    .line 84
    :cond_2
    invoke-interface {v0}, Les/td;->pause()V

    .line 85
    :cond_3
    :goto_1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->O:Les/td;

    if-eqz v0, :cond_5

    if-ne v0, p1, :cond_4

    .line 86
    invoke-interface {v0}, Les/td;->isPlaying()Z

    move-result p1

    if-nez p1, :cond_5

    .line 87
    iget-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->O:Les/td;

    invoke-interface {p1}, Les/td;->start()V

    goto :goto_2

    .line 88
    :cond_4
    invoke-interface {v0}, Les/td;->isPlaying()Z

    move-result p1

    if-eqz p1, :cond_5

    .line 89
    iget-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->O:Les/td;

    invoke-interface {p1}, Les/td;->pause()V

    :cond_5
    :goto_2
    return-void
.end method

.method static synthetic a(Lcom/esfile/screen/recorder/videos/edit/player/c;Z)Z
    .locals 0

    .line 4
    iput-boolean p1, p0, Lcom/esfile/screen/recorder/player/h;->d:Z

    return p1
.end method

.method private b(ILes/cd;)I
    .locals 4

    const/4 v0, 0x2

    .line 14
    invoke-direct {p0, v0}, Lcom/esfile/screen/recorder/videos/edit/player/c;->h(I)Z

    move-result v0

    const/4 v1, 0x0

    if-eqz v0, :cond_0

    .line 15
    iget-object v0, p2, Les/cd;->b:Les/cd$s;

    goto :goto_0

    :cond_0
    move-object v0, v1

    :goto_0
    const/4 v2, 0x4

    .line 16
    invoke-direct {p0, v2}, Lcom/esfile/screen/recorder/videos/edit/player/c;->h(I)Z

    move-result v2

    if-eqz v2, :cond_1

    .line 17
    iget-object v2, p2, Les/cd;->c:Les/cd$m;

    goto :goto_1

    :cond_1
    move-object v2, v1

    :goto_1
    const/16 v3, 0x8

    .line 18
    invoke-direct {p0, v3}, Lcom/esfile/screen/recorder/videos/edit/player/c;->h(I)Z

    move-result v3

    if-eqz v3, :cond_2

    int-to-long v0, p1

    .line 19
    invoke-static {p2, v0, v1}, Les/rd;->b(Les/cd;J)J

    move-result-wide p1

    :goto_2
    long-to-int p1, p1

    goto :goto_3

    :cond_2
    if-eqz v0, :cond_3

    int-to-long p1, p1

    .line 20
    invoke-static {v0, p1, p2, v1}, Les/rd;->a(Les/cd$s;JLes/cd$o;)J

    move-result-wide p1

    goto :goto_2

    :cond_3
    if-eqz v2, :cond_4

    int-to-long p1, p1

    .line 21
    invoke-static {v2, p1, p2, v1}, Les/rd;->b(Les/cd$m;JLes/cd$o;)J

    move-result-wide p1

    goto :goto_2

    :cond_4
    :goto_3
    return p1
.end method

.method static synthetic b(Lcom/esfile/screen/recorder/videos/edit/player/c;)Landroid/widget/SeekBar$OnSeekBarChangeListener;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->J:Landroid/widget/SeekBar$OnSeekBarChangeListener;

    return-object p0
.end method

.method private b(Lcom/esfile/screen/recorder/player/exo/a;)V
    .locals 2

    .line 23
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->D:Ljava/util/List;

    if-eqz v0, :cond_0

    .line 24
    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v0

    :goto_0
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v1

    if-eqz v1, :cond_0

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/esfile/screen/recorder/player/exo/a$c;

    .line 25
    invoke-interface {v1, p1}, Lcom/esfile/screen/recorder/player/exo/a$c;->a(Lcom/esfile/screen/recorder/player/exo/a;)V

    goto :goto_0

    :cond_0
    return-void
.end method

.method private b(Z)V
    .locals 5

    .line 4
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->m:Landroid/widget/FrameLayout;

    invoke-virtual {v0}, Landroid/widget/FrameLayout;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout$LayoutParams;

    const/16 v1, 0x8

    const/4 v2, 0x7

    const/4 v3, 0x6

    const/4 v4, 0x5

    if-eqz p1, :cond_0

    .line 5
    invoke-virtual {v0, v4}, Landroid/widget/RelativeLayout$LayoutParams;->removeRule(I)V

    .line 6
    invoke-virtual {v0, v3}, Landroid/widget/RelativeLayout$LayoutParams;->removeRule(I)V

    .line 7
    invoke-virtual {v0, v2}, Landroid/widget/RelativeLayout$LayoutParams;->removeRule(I)V

    .line 8
    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout$LayoutParams;->removeRule(I)V

    goto :goto_0

    .line 9
    :cond_0
    sget p1, Les/x4;->video_view:I

    invoke-virtual {v0, v4, p1}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(II)V

    .line 10
    sget p1, Les/x4;->video_view:I

    invoke-virtual {v0, v3, p1}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(II)V

    .line 11
    sget p1, Les/x4;->video_view:I

    invoke-virtual {v0, v2, p1}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(II)V

    .line 12
    sget p1, Les/x4;->video_view:I

    invoke-virtual {v0, v1, p1}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(II)V

    .line 13
    :goto_0
    iget-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->m:Landroid/widget/FrameLayout;

    invoke-virtual {p1, v0}, Landroid/widget/FrameLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    return-void
.end method

.method static synthetic b(Lcom/esfile/screen/recorder/videos/edit/player/c;I)Z
    .locals 0

    .line 3
    invoke-direct {p0, p1}, Lcom/esfile/screen/recorder/videos/edit/player/c;->h(I)Z

    move-result p0

    return p0
.end method

.method static synthetic b(Lcom/esfile/screen/recorder/videos/edit/player/c;Z)Z
    .locals 0

    .line 2
    iput-boolean p1, p0, Lcom/esfile/screen/recorder/player/h;->d:Z

    return p1
.end method

.method static synthetic c(Lcom/esfile/screen/recorder/videos/edit/player/c;I)I
    .locals 0

    .line 2
    iput p1, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->o:I

    return p1
.end method

.method static synthetic c(Lcom/esfile/screen/recorder/videos/edit/player/c;)Landroid/os/Handler;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/esfile/screen/recorder/player/h;->f:Landroid/os/Handler;

    return-object p0
.end method

.method static synthetic d(Lcom/esfile/screen/recorder/videos/edit/player/c;)Les/td;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->O:Les/td;

    return-object p0
.end method

.method static synthetic e(Lcom/esfile/screen/recorder/videos/edit/player/c;)Les/td;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->P:Les/td;

    return-object p0
.end method

.method static synthetic f(Lcom/esfile/screen/recorder/videos/edit/player/c;)Les/td;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->Q:Les/td;

    return-object p0
.end method

.method private g(I)I
    .locals 5

    const/4 v0, 0x2

    .line 2
    invoke-direct {p0, v0}, Lcom/esfile/screen/recorder/videos/edit/player/c;->h(I)Z

    move-result v0

    const/4 v1, 0x0

    if-eqz v0, :cond_0

    .line 3
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->r:Les/cd;

    iget-object v0, v0, Les/cd;->b:Les/cd$s;

    goto :goto_0

    :cond_0
    move-object v0, v1

    :goto_0
    const/4 v2, 0x4

    .line 4
    invoke-direct {p0, v2}, Lcom/esfile/screen/recorder/videos/edit/player/c;->h(I)Z

    move-result v2

    if-eqz v2, :cond_1

    .line 5
    iget-object v2, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->r:Les/cd;

    iget-object v2, v2, Les/cd;->c:Les/cd$m;

    goto :goto_1

    :cond_1
    move-object v2, v1

    :goto_1
    const/16 v3, 0x8

    .line 6
    invoke-direct {p0, v3}, Lcom/esfile/screen/recorder/videos/edit/player/c;->h(I)Z

    move-result v3

    if-eqz v3, :cond_2

    .line 7
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->r:Les/cd;

    int-to-long v1, p1

    invoke-static {v0, v1, v2}, Les/rd;->c(Les/cd;J)J

    move-result-wide v0

    :goto_2
    long-to-int p1, v0

    goto :goto_3

    :cond_2
    if-eqz v0, :cond_3

    int-to-long v2, p1

    .line 8
    invoke-static {v0, v2, v3, v1}, Les/rd;->b(Les/cd$s;JLes/cd$o;)J

    move-result-wide v0

    goto :goto_2

    :cond_3
    if-eqz v2, :cond_4

    int-to-long v3, p1

    .line 9
    invoke-static {v2, v3, v4, v1}, Les/rd;->c(Les/cd$m;JLes/cd$o;)J

    move-result-wide v0

    goto :goto_2

    :cond_4
    :goto_3
    return p1
.end method

.method static synthetic g(Lcom/esfile/screen/recorder/videos/edit/player/c;)V
    .locals 0

    .line 1
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/player/c;->u()V

    return-void
.end method

.method private h(I)Z
    .locals 1

    .line 4
    iget v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->L:I

    and-int/2addr v0, p1

    if-ne v0, p1, :cond_0

    const/4 p1, 0x1

    goto :goto_0

    :cond_0
    const/4 p1, 0x0

    :goto_0
    return p1
.end method

.method static synthetic h(Lcom/esfile/screen/recorder/videos/edit/player/c;)Z
    .locals 0

    .line 1
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/player/c;->t()Z

    move-result p0

    return p0
.end method

.method static synthetic i(Lcom/esfile/screen/recorder/videos/edit/player/c;)V
    .locals 0

    .line 1
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/player/c;->z()V

    return-void
.end method

.method static synthetic j(Lcom/esfile/screen/recorder/videos/edit/player/c;)Lcom/esfile/screen/recorder/videos/edit/player/d;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->M:Lcom/esfile/screen/recorder/videos/edit/player/d;

    return-object p0
.end method

.method static synthetic k(Lcom/esfile/screen/recorder/videos/edit/player/c;)Les/cd;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->r:Les/cd;

    return-object p0
.end method

.method static synthetic l(Lcom/esfile/screen/recorder/videos/edit/player/c;)Ljava/util/Map;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->n:Ljava/util/Map;

    return-object p0
.end method

.method static synthetic m(Lcom/esfile/screen/recorder/videos/edit/player/c;)I
    .locals 0

    .line 1
    iget p0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->o:I

    return p0
.end method

.method private q()J
    .locals 6

    const/4 v0, 0x2

    .line 1
    invoke-direct {p0, v0}, Lcom/esfile/screen/recorder/videos/edit/player/c;->h(I)Z

    move-result v0

    const/4 v1, 0x0

    if-eqz v0, :cond_0

    .line 2
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->r:Les/cd;

    iget-object v0, v0, Les/cd;->b:Les/cd$s;

    goto :goto_0

    :cond_0
    move-object v0, v1

    :goto_0
    const/4 v2, 0x4

    .line 3
    invoke-direct {p0, v2}, Lcom/esfile/screen/recorder/videos/edit/player/c;->h(I)Z

    move-result v2

    if-eqz v2, :cond_1

    .line 4
    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->r:Les/cd;

    iget-object v1, v1, Les/cd;->c:Les/cd$m;

    :cond_1
    const-wide/16 v2, 0x0

    if-eqz v0, :cond_2

    .line 5
    iget-wide v2, v0, Les/cd$s;->a:J

    goto :goto_1

    :cond_2
    if-eqz v1, :cond_3

    .line 6
    iget-wide v4, v1, Les/cd$m;->a:J

    cmp-long v0, v4, v2

    if-nez v0, :cond_3

    iget-wide v0, v1, Les/cd$m;->b:J

    move-wide v2, v0

    :cond_3
    :goto_1
    return-wide v2
.end method

.method private r()V
    .locals 3

    .line 1
    new-instance v0, Ljava/util/HashMap;

    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->n:Ljava/util/Map;

    .line 2
    new-instance v1, Les/md;

    invoke-direct {v1, p0}, Les/md;-><init>(Lcom/esfile/screen/recorder/videos/edit/player/c;)V

    const-string v2, "CropRender"

    invoke-interface {v0, v2, v1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 3
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->n:Ljava/util/Map;

    new-instance v1, Les/pd;

    invoke-direct {v1, p0}, Les/pd;-><init>(Lcom/esfile/screen/recorder/videos/edit/player/c;)V

    const-string v2, "RotateRender"

    invoke-interface {v0, v2, v1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 4
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->n:Ljava/util/Map;

    new-instance v1, Les/ld;

    invoke-direct {v1, p0}, Les/ld;-><init>(Lcom/esfile/screen/recorder/videos/edit/player/c;)V

    const-string v2, "BackgroundRender"

    invoke-interface {v0, v2, v1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 5
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->n:Ljava/util/Map;

    new-instance v1, Les/kd;

    invoke-direct {v1, p0}, Les/kd;-><init>(Lcom/esfile/screen/recorder/videos/edit/player/c;)V

    const-string v2, "BGMRender"

    invoke-interface {v0, v2, v1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 6
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->n:Ljava/util/Map;

    new-instance v1, Les/nd;

    invoke-direct {v1, p0}, Les/nd;-><init>(Lcom/esfile/screen/recorder/videos/edit/player/c;)V

    const-string v2, "PictureRender"

    invoke-interface {v0, v2, v1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 7
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->n:Ljava/util/Map;

    new-instance v1, Les/qd;

    invoke-direct {v1, p0}, Les/qd;-><init>(Lcom/esfile/screen/recorder/videos/edit/player/c;)V

    const-string v2, "SubtitleRender"

    invoke-interface {v0, v2, v1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 8
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->n:Ljava/util/Map;

    new-instance v1, Les/sd;

    invoke-direct {v1, p0}, Les/sd;-><init>(Lcom/esfile/screen/recorder/videos/edit/player/c;)V

    const-string v2, "WaterMarkRender"

    invoke-interface {v0, v2, v1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 9
    new-instance v0, Lcom/esfile/screen/recorder/videos/edit/player/c$f;

    invoke-direct {v0, p0}, Lcom/esfile/screen/recorder/videos/edit/player/c$f;-><init>(Lcom/esfile/screen/recorder/videos/edit/player/c;)V

    invoke-virtual {p0, v0}, Lcom/esfile/screen/recorder/videos/edit/player/c;->a(Lcom/esfile/screen/recorder/videos/edit/player/c$r;)V

    return-void
.end method

.method private s()V
    .locals 2

    .line 1
    sget v0, Les/x4;->video_view_panel:I

    invoke-virtual {p0, v0}, Landroid/widget/FrameLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/FrameLayout;

    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->j:Landroid/widget/FrameLayout;

    .line 2
    sget v0, Les/x4;->video_view_container:I

    invoke-virtual {p0, v0}, Landroid/widget/FrameLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->k:Landroid/view/View;

    .line 3
    sget v0, Les/x4;->durec_video_bg_container:I

    invoke-virtual {p0, v0}, Landroid/widget/FrameLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/FrameLayout;

    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->l:Landroid/widget/FrameLayout;

    .line 4
    sget v0, Les/x4;->overlay_container:I

    invoke-virtual {p0, v0}, Landroid/widget/FrameLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/FrameLayout;

    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->m:Landroid/widget/FrameLayout;

    .line 5
    sget v0, Les/x4;->video_view:I

    invoke-virtual {p0, v0}, Landroid/widget/FrameLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;

    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->h:Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;

    .line 6
    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->t:Lcom/esfile/screen/recorder/player/exo/a$g;

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->setOnPreparedListener(Lcom/esfile/screen/recorder/player/exo/a$g;)V

    .line 7
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->h:Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;

    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->u:Lcom/esfile/screen/recorder/player/exo/a$c;

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->setOnCompletionListener(Lcom/esfile/screen/recorder/player/exo/a$c;)V

    .line 8
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->h:Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;

    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->w:Lcom/esfile/screen/recorder/player/exo/a$j;

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->setOnVideoSizeChangedListener(Lcom/esfile/screen/recorder/player/exo/a$j;)V

    .line 9
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->h:Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;

    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->x:Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView$g;

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->setOnVideoViewSizeChangedListener(Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView$g;)V

    .line 10
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->h:Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;

    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->y:Lcom/esfile/screen/recorder/player/exo/a$d;

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->setOnErrorListener(Lcom/esfile/screen/recorder/player/exo/a$d;)V

    .line 11
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->h:Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;

    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->z:Lcom/esfile/screen/recorder/player/exo/a$i;

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->setOnStateChangedListener(Lcom/esfile/screen/recorder/player/exo/a$i;)V

    .line 12
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->h:Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;

    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->A:Lcom/esfile/screen/recorder/player/exo/a$h;

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->setOnRenderedToSurfaceListener(Lcom/esfile/screen/recorder/player/exo/a$h;)V

    .line 13
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->m:Landroid/widget/FrameLayout;

    new-instance v1, Lcom/esfile/screen/recorder/videos/edit/player/c$g;

    invoke-direct {v1, p0}, Lcom/esfile/screen/recorder/videos/edit/player/c$g;-><init>(Lcom/esfile/screen/recorder/videos/edit/player/c;)V

    invoke-virtual {v0, v1}, Landroid/widget/FrameLayout;->addOnLayoutChangeListener(Landroid/view/View$OnLayoutChangeListener;)V

    .line 14
    sget v0, Les/x4;->intro_outro_container:I

    invoke-virtual {p0, v0}, Landroid/widget/FrameLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/IntroOutroTemplateContainer;

    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->N:Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/IntroOutroTemplateContainer;

    return-void
.end method

.method private setFlags(I)V
    .locals 0

    .line 1
    iput p1, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->L:I

    return-void
.end method

.method private t()Z
    .locals 2

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->O:Les/td;

    const/4 v1, 0x0

    if-eqz v0, :cond_0

    .line 2
    invoke-interface {v0}, Les/td;->isPlaying()Z

    move-result v0

    or-int/2addr v1, v0

    .line 3
    :cond_0
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->P:Les/td;

    if-eqz v0, :cond_1

    .line 4
    invoke-interface {v0}, Les/td;->isPlaying()Z

    move-result v0

    or-int/2addr v1, v0

    .line 5
    :cond_1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->Q:Les/td;

    if-eqz v0, :cond_2

    .line 6
    invoke-interface {v0}, Les/td;->isPlaying()Z

    move-result v0

    or-int/2addr v1, v0

    :cond_2
    return v1
.end method

.method private u()V
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->h:Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;

    invoke-virtual {v0}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->pause()V

    return-void
.end method

.method private v()V
    .locals 10

    .line 1
    iget v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->p:I

    if-lez v0, :cond_7

    iget v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->q:I

    if-gtz v0, :cond_0

    goto/16 :goto_5

    .line 2
    :cond_0
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->l:Landroid/widget/FrameLayout;

    invoke-virtual {v0}, Landroid/widget/FrameLayout;->getVisibility()I

    move-result v0

    if-nez v0, :cond_1

    const/4 v0, 0x1

    goto :goto_0

    :cond_1
    const/4 v0, 0x0

    .line 3
    :goto_0
    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->N:Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/IntroOutroTemplateContainer;

    invoke-virtual {v1}, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/IntroOutroTemplateContainer;->b()Z

    move-result v1

    .line 4
    iget-object v2, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->j:Landroid/widget/FrameLayout;

    invoke-virtual {v2}, Landroid/widget/FrameLayout;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v2

    const/16 v3, 0x10

    const/4 v4, -0x1

    if-eqz v1, :cond_4

    .line 5
    iget-boolean v5, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->s:Z

    const/16 v6, 0x9

    if-eqz v5, :cond_2

    const/16 v5, 0x9

    goto :goto_1

    :cond_2
    const/16 v5, 0x10

    .line 6
    :goto_1
    iget-boolean v7, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->s:Z

    if-eqz v7, :cond_3

    const/16 v6, 0x10

    .line 7
    :cond_3
    iget v7, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->p:I

    int-to-float v7, v7

    const/high16 v8, 0x3f800000    # 1.0f

    mul-float v7, v7, v8

    int-to-float v5, v5

    div-float/2addr v7, v5

    iget v9, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->q:I

    int-to-float v9, v9

    mul-float v9, v9, v8

    int-to-float v6, v6

    div-float/2addr v9, v6

    invoke-static {v7, v9}, Ljava/lang/Math;->min(FF)F

    move-result v7

    mul-float v5, v5, v7

    float-to-int v5, v5

    .line 8
    iput v5, v2, Landroid/view/ViewGroup$LayoutParams;->width:I

    mul-float v6, v6, v7

    float-to-int v5, v6

    .line 9
    iput v5, v2, Landroid/view/ViewGroup$LayoutParams;->height:I

    goto :goto_2

    .line 10
    :cond_4
    iput v4, v2, Landroid/view/ViewGroup$LayoutParams;->width:I

    .line 11
    iput v4, v2, Landroid/view/ViewGroup$LayoutParams;->height:I

    .line 12
    :goto_2
    iget-object v5, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->j:Landroid/widget/FrameLayout;

    invoke-virtual {v5, v2}, Landroid/widget/FrameLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    .line 13
    iget-object v5, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->k:Landroid/view/View;

    invoke-virtual {v5}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v5

    if-eqz v0, :cond_6

    if-eqz v1, :cond_5

    .line 14
    iget v1, v2, Landroid/view/ViewGroup$LayoutParams;->width:I

    goto :goto_3

    :cond_5
    invoke-virtual {p0}, Landroid/widget/FrameLayout;->getContext()Landroid/content/Context;

    move-result-object v1

    invoke-static {v1}, Lcom/esfile/screen/recorder/utils/g;->i(Landroid/content/Context;)I

    move-result v1

    :goto_3
    mul-int/lit8 v2, v1, 0x9

    .line 15
    div-int/2addr v2, v3

    .line 16
    iput v1, v5, Landroid/view/ViewGroup$LayoutParams;->width:I

    .line 17
    iput v2, v5, Landroid/view/ViewGroup$LayoutParams;->height:I

    goto :goto_4

    .line 18
    :cond_6
    iput v4, v5, Landroid/view/ViewGroup$LayoutParams;->width:I

    .line 19
    iput v4, v5, Landroid/view/ViewGroup$LayoutParams;->height:I

    .line 20
    :goto_4
    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->k:Landroid/view/View;

    invoke-virtual {v1, v5}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    .line 21
    invoke-direct {p0, v0}, Lcom/esfile/screen/recorder/videos/edit/player/c;->b(Z)V

    :cond_7
    :goto_5
    return-void
.end method

.method private w()V
    .locals 7

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->O:Les/td;

    if-eqz v0, :cond_f

    invoke-interface {v0}, Les/td;->getDuration()I

    move-result v0

    if-gtz v0, :cond_0

    goto/16 :goto_4

    .line 2
    :cond_0
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->P:Les/td;

    const/4 v1, 0x0

    if-eqz v0, :cond_1

    .line 3
    invoke-interface {v0}, Les/td;->a()I

    move-result v0

    add-int/2addr v0, v1

    .line 4
    iget-object v2, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->P:Les/td;

    invoke-interface {v2}, Les/td;->getDuration()I

    move-result v2

    add-int/2addr v2, v1

    .line 5
    iget-object v3, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->P:Les/td;

    invoke-interface {v3}, Les/td;->getDuration()I

    move-result v3

    add-int/2addr v3, v1

    .line 6
    iget-object v4, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->P:Les/td;

    invoke-interface {v4}, Les/td;->getDuration()I

    move-result v4

    add-int/2addr v4, v1

    goto :goto_0

    :cond_1
    const/4 v0, 0x0

    const/4 v2, 0x0

    const/4 v3, 0x0

    const/4 v4, 0x0

    .line 7
    :goto_0
    iget-object v5, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->O:Les/td;

    if-eqz v5, :cond_3

    .line 8
    invoke-interface {v5}, Les/td;->a()I

    move-result v5

    .line 9
    iget-object v6, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->O:Les/td;

    invoke-interface {v6}, Les/td;->getDuration()I

    move-result v6

    if-lt v5, v6, :cond_2

    .line 10
    iget-object v5, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->O:Les/td;

    invoke-interface {v5}, Les/td;->getDuration()I

    move-result v5

    const/4 v6, 0x1

    goto :goto_1

    :cond_2
    const/4 v6, 0x0

    :goto_1
    add-int/2addr v0, v5

    .line 11
    iget-object v5, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->O:Les/td;

    invoke-interface {v5}, Les/td;->getDuration()I

    move-result v5

    add-int/2addr v3, v5

    .line 12
    iget-object v5, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->O:Les/td;

    invoke-interface {v5}, Les/td;->getDuration()I

    move-result v5

    add-int/2addr v4, v5

    goto :goto_2

    :cond_3
    const/4 v6, 0x0

    .line 13
    :goto_2
    iget-object v5, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->Q:Les/td;

    if-eqz v5, :cond_5

    if-eqz v6, :cond_4

    .line 14
    invoke-interface {v5}, Les/td;->a()I

    move-result v5

    add-int/2addr v0, v5

    .line 15
    :cond_4
    iget-object v5, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->Q:Les/td;

    invoke-interface {v5}, Les/td;->getDuration()I

    move-result v5

    add-int/2addr v4, v5

    :cond_5
    if-lt v0, v4, :cond_a

    .line 16
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->P:Les/td;

    if-eqz v0, :cond_6

    .line 17
    invoke-interface {v0, v1}, Les/td;->seekTo(I)V

    .line 18
    :cond_6
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->Q:Les/td;

    if-eqz v0, :cond_7

    .line 19
    invoke-interface {v0, v1}, Les/td;->seekTo(I)V

    .line 20
    :cond_7
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->O:Les/td;

    if-eqz v0, :cond_8

    .line 21
    invoke-interface {v0, v1}, Les/td;->seekTo(I)V

    .line 22
    :cond_8
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->P:Les/td;

    if-eqz v0, :cond_9

    .line 23
    invoke-interface {v0}, Les/td;->start()V

    goto :goto_3

    .line 24
    :cond_9
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->O:Les/td;

    invoke-interface {v0}, Les/td;->start()V

    :goto_3
    return-void

    :cond_a
    if-ge v0, v2, :cond_c

    .line 25
    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->P:Les/td;

    if-eqz v1, :cond_f

    .line 26
    invoke-interface {v1, v0}, Les/td;->seekTo(I)V

    .line 27
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->P:Les/td;

    invoke-interface {v0}, Les/td;->isPlaying()Z

    move-result v0

    if-nez v0, :cond_b

    .line 28
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->P:Les/td;

    invoke-interface {v0}, Les/td;->start()V

    .line 29
    :cond_b
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->i:Lcom/esfile/screen/recorder/videos/edit/player/b;

    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->P:Les/td;

    invoke-interface {v1}, Les/td;->isPlaying()Z

    move-result v1

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/videos/edit/player/b;->setPlayState(Z)V

    goto :goto_4

    :cond_c
    if-le v0, v3, :cond_e

    .line 30
    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->Q:Les/td;

    if-eqz v1, :cond_f

    sub-int/2addr v0, v3

    .line 31
    invoke-interface {v1, v0}, Les/td;->seekTo(I)V

    .line 32
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->Q:Les/td;

    invoke-interface {v0}, Les/td;->isPlaying()Z

    move-result v0

    if-nez v0, :cond_d

    .line 33
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->Q:Les/td;

    invoke-interface {v0}, Les/td;->start()V

    .line 34
    :cond_d
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->i:Lcom/esfile/screen/recorder/videos/edit/player/b;

    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->Q:Les/td;

    invoke-interface {v1}, Les/td;->isPlaying()Z

    move-result v1

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/videos/edit/player/b;->setPlayState(Z)V

    goto :goto_4

    .line 35
    :cond_e
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/player/c;->x()V

    :cond_f
    :goto_4
    return-void
.end method

.method private x()V
    .locals 3

    .line 1
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/player/c;->q()J

    move-result-wide v0

    const/4 v2, 0x2

    .line 2
    iput v2, p0, Lcom/esfile/screen/recorder/player/h;->a:I

    .line 3
    iget-object v2, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->h:Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;

    invoke-virtual {v2, v0, v1}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->a(J)V

    return-void
.end method

.method private y()V
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->P:Les/td;

    if-eqz v0, :cond_0

    .line 2
    invoke-interface {v0}, Les/td;->stop()V

    .line 3
    :cond_0
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->Q:Les/td;

    if-eqz v0, :cond_1

    .line 4
    invoke-interface {v0}, Les/td;->stop()V

    .line 5
    :cond_1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->O:Les/td;

    if-eqz v0, :cond_2

    .line 6
    invoke-interface {v0}, Les/td;->stop()V

    :cond_2
    return-void
.end method

.method private z()V
    .locals 3

    .line 1
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/videos/edit/player/c;->l()V

    .line 2
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->h:Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;

    invoke-virtual {v0}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->c()V

    .line 3
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->n:Ljava/util/Map;

    invoke-interface {v0}, Ljava/util/Map;->keySet()Ljava/util/Set;

    move-result-object v0

    .line 4
    invoke-interface {v0}, Ljava/util/Set;->iterator()Ljava/util/Iterator;

    move-result-object v0

    :goto_0
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v1

    if-eqz v1, :cond_0

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/String;

    .line 5
    iget-object v2, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->n:Ljava/util/Map;

    invoke-interface {v2, v1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Les/od;

    invoke-virtual {v1}, Les/od;->b()V

    goto :goto_0

    :cond_0
    return-void
.end method


# virtual methods
.method public a(IZ)Landroid/graphics/RectF;
    .locals 1

    .line 11
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->h:Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;

    invoke-virtual {v0, p1, p2}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->b(IZ)Landroid/graphics/RectF;

    move-result-object p1

    return-object p1
.end method

.method public a(Landroid/view/View;)V
    .locals 1

    .line 71
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->m:Landroid/widget/FrameLayout;

    invoke-virtual {v0, p1}, Landroid/widget/FrameLayout;->addView(Landroid/view/View;)V

    return-void
.end method

.method public a(Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView$g;)V
    .locals 1

    .line 65
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->F:Ljava/util/List;

    invoke-interface {v0, p1}, Ljava/util/List;->contains(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_0

    .line 66
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->F:Ljava/util/List;

    invoke-interface {v0, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    :cond_0
    return-void
.end method

.method public a(Lcom/esfile/screen/recorder/player/exo/a$c;)V
    .locals 1

    .line 63
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->D:Ljava/util/List;

    invoke-interface {v0, p1}, Ljava/util/List;->contains(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_0

    .line 64
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->D:Ljava/util/List;

    invoke-interface {v0, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    :cond_0
    return-void
.end method

.method public a(Lcom/esfile/screen/recorder/player/exo/a$d;)V
    .locals 1

    .line 67
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->G:Ljava/util/List;

    invoke-interface {v0, p1}, Ljava/util/List;->contains(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_0

    .line 68
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->G:Ljava/util/List;

    invoke-interface {v0, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    :cond_0
    return-void
.end method

.method public a(Lcom/esfile/screen/recorder/player/exo/a$g;)V
    .locals 1

    .line 61
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->C:Ljava/util/List;

    invoke-interface {v0, p1}, Ljava/util/List;->contains(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_0

    .line 62
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->C:Ljava/util/List;

    invoke-interface {v0, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    :cond_0
    return-void
.end method

.method public a(Lcom/esfile/screen/recorder/player/exo/a$h;)V
    .locals 1

    .line 69
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->H:Ljava/util/List;

    invoke-interface {v0, p1}, Ljava/util/List;->contains(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_0

    .line 70
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->H:Ljava/util/List;

    invoke-interface {v0, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    :cond_0
    return-void
.end method

.method public a(Lcom/esfile/screen/recorder/player/exo/a$i;)V
    .locals 1

    .line 59
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->B:Ljava/util/List;

    invoke-interface {v0, p1}, Ljava/util/List;->contains(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_0

    .line 60
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->B:Ljava/util/List;

    invoke-interface {v0, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    :cond_0
    return-void
.end method

.method public a(Lcom/esfile/screen/recorder/videos/edit/player/c$q;)V
    .locals 1

    .line 77
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->K:Ljava/util/List;

    invoke-interface {v0, p1}, Ljava/util/List;->contains(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_0

    .line 78
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->K:Ljava/util/List;

    invoke-interface {v0, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    :cond_0
    return-void
.end method

.method public a(Lcom/esfile/screen/recorder/videos/edit/player/c$r;)V
    .locals 1

    .line 72
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->I:Ljava/util/List;

    invoke-interface {v0, p1}, Ljava/util/List;->contains(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_0

    .line 73
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->I:Ljava/util/List;

    invoke-interface {v0, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    :cond_0
    return-void
.end method

.method public varargs a([Ljava/lang/String;)V
    .locals 4

    .line 8
    array-length v0, p1

    const/4 v1, 0x0

    :goto_0
    if-ge v1, v0, :cond_1

    aget-object v2, p1, v1

    .line 9
    iget-object v3, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->n:Ljava/util/Map;

    invoke-interface {v3, v2}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Les/od;

    if-eqz v2, :cond_0

    const/4 v3, 0x1

    .line 10
    invoke-virtual {v2, v3}, Les/od;->a(Z)V

    :cond_0
    add-int/lit8 v1, v1, 0x1

    goto :goto_0

    :cond_1
    return-void
.end method

.method public b(Landroid/view/View;)V
    .locals 1

    .line 26
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->m:Landroid/widget/FrameLayout;

    invoke-virtual {v0, p1}, Landroid/widget/FrameLayout;->removeView(Landroid/view/View;)V

    return-void
.end method

.method public b(I)Z
    .locals 0

    .line 22
    invoke-direct {p0, p1}, Lcom/esfile/screen/recorder/videos/edit/player/c;->h(I)Z

    move-result p1

    return p1
.end method

.method public c(I)V
    .locals 1

    .line 4
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->h:Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;

    invoke-virtual {v0, p1}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->seekTo(I)V

    .line 5
    iget p1, p0, Lcom/esfile/screen/recorder/player/h;->a:I

    const/4 v0, 0x3

    if-ne p1, v0, :cond_0

    const/4 p1, 0x4

    .line 6
    iput p1, p0, Lcom/esfile/screen/recorder/player/h;->a:I

    .line 7
    :cond_0
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/videos/edit/player/c;->e()V

    return-void
.end method

.method public c()Z
    .locals 1

    .line 3
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/player/c;->t()Z

    move-result v0

    return v0
.end method

.method public d(I)V
    .locals 2

    .line 2
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/videos/edit/player/c;->getDuration()I

    move-result v0

    if-gtz v0, :cond_0

    .line 3
    iput p1, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->o:I

    return-void

    .line 4
    :cond_0
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->P:Les/td;

    if-eqz v0, :cond_2

    .line 5
    invoke-interface {v0}, Les/td;->getDuration()I

    move-result v0

    if-ge p1, v0, :cond_1

    .line 6
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->P:Les/td;

    invoke-interface {v0, p1}, Les/td;->seekTo(I)V

    const/4 p1, 0x0

    goto :goto_0

    .line 7
    :cond_1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->P:Les/td;

    invoke-interface {v0}, Les/td;->getDuration()I

    move-result v1

    invoke-interface {v0, v1}, Les/td;->seekTo(I)V

    .line 8
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->P:Les/td;

    invoke-interface {v0}, Les/td;->getDuration()I

    move-result v0

    sub-int/2addr p1, v0

    .line 9
    :cond_2
    :goto_0
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->O:Les/td;

    invoke-interface {v0}, Les/td;->getDuration()I

    move-result v0

    if-ge p1, v0, :cond_3

    .line 10
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->O:Les/td;

    invoke-interface {v0, p1}, Les/td;->seekTo(I)V

    goto :goto_1

    .line 11
    :cond_3
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->O:Les/td;

    invoke-interface {v0}, Les/td;->getDuration()I

    move-result v1

    invoke-interface {v0, v1}, Les/td;->seekTo(I)V

    .line 12
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->O:Les/td;

    invoke-interface {v0}, Les/td;->getDuration()I

    move-result v0

    sub-int/2addr p1, v0

    .line 13
    :goto_1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->Q:Les/td;

    if-eqz v0, :cond_5

    .line 14
    invoke-interface {v0}, Les/td;->getDuration()I

    move-result v0

    if-ge p1, v0, :cond_4

    .line 15
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->Q:Les/td;

    invoke-interface {v0, p1}, Les/td;->seekTo(I)V

    goto :goto_2

    .line 16
    :cond_4
    iget-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->Q:Les/td;

    invoke-interface {p1}, Les/td;->getDuration()I

    move-result v0

    invoke-interface {p1, v0}, Les/td;->seekTo(I)V

    :cond_5
    :goto_2
    return-void
.end method

.method protected e()V
    .locals 12

    .line 4
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/videos/edit/player/c;->getCurrentPosition()I

    move-result v0

    .line 5
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/videos/edit/player/c;->getDuration()I

    move-result v1

    .line 6
    iget-object v2, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->h:Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;

    invoke-virtual {v2}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->getBufferPercentage()I

    move-result v2

    .line 7
    iget-object v3, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->r:Les/cd;

    if-nez v3, :cond_0

    const-string v0, "VideoRenderPlayer"

    const-string v1, "setProgress: mRenderInfo is null "

    .line 8
    invoke-static {v0, v1}, Lcom/esfile/screen/recorder/utils/n;->d(Ljava/lang/String;Ljava/lang/String;)V

    return-void

    .line 9
    :cond_0
    invoke-direct {p0, v0, v3}, Lcom/esfile/screen/recorder/videos/edit/player/c;->b(ILes/cd;)I

    move-result v3

    .line 10
    iget-object v4, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->r:Les/cd;

    invoke-direct {p0, v1, v4}, Lcom/esfile/screen/recorder/videos/edit/player/c;->a(ILes/cd;)I

    move-result v4

    const/4 v5, 0x0

    if-gez v3, :cond_1

    const/4 v3, 0x0

    :cond_1
    if-lt v3, v4, :cond_2

    move v3, v4

    :cond_2
    const/4 v6, 0x2

    .line 11
    invoke-direct {p0, v6}, Lcom/esfile/screen/recorder/videos/edit/player/c;->h(I)Z

    move-result v6

    const/4 v7, 0x4

    if-eqz v6, :cond_4

    iget-object v6, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->r:Les/cd;

    iget-object v6, v6, Les/cd;->b:Les/cd$s;

    if-eqz v6, :cond_4

    if-ne v3, v4, :cond_4

    .line 12
    iget v0, p0, Lcom/esfile/screen/recorder/player/h;->a:I

    if-eq v0, v7, :cond_3

    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->Q:Les/td;

    if-eqz v0, :cond_3

    .line 13
    invoke-interface {v0}, Les/td;->a()I

    move-result v0

    if-nez v0, :cond_3

    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->O:Les/td;

    invoke-interface {v0}, Les/td;->isPlaying()Z

    move-result v0

    if-eqz v0, :cond_3

    .line 14
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->Q:Les/td;

    invoke-interface {v0}, Les/td;->start()V

    .line 15
    :cond_3
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/player/c;->u()V

    .line 16
    invoke-direct {p0, v3, v4, v2}, Lcom/esfile/screen/recorder/videos/edit/player/c;->a(III)V

    .line 17
    invoke-virtual {p0, v5}, Lcom/esfile/screen/recorder/player/h;->a(I)V

    const/4 v0, 0x0

    .line 18
    invoke-direct {p0, v0}, Lcom/esfile/screen/recorder/videos/edit/player/c;->b(Lcom/esfile/screen/recorder/player/exo/a;)V

    .line 19
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->r:Les/cd;

    int-to-long v2, v3

    invoke-static {v0, v2, v3}, Les/rd;->c(Les/cd;J)J

    move-result-wide v2

    long-to-int v0, v2

    .line 20
    invoke-direct {p0, v0, v1}, Lcom/esfile/screen/recorder/videos/edit/player/c;->a(II)V

    return-void

    .line 21
    :cond_4
    invoke-direct {p0, v7}, Lcom/esfile/screen/recorder/videos/edit/player/c;->h(I)Z

    move-result v5

    if-eqz v5, :cond_6

    iget-object v5, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->r:Les/cd;

    iget-object v5, v5, Les/cd;->c:Les/cd$m;

    if-eqz v5, :cond_6

    int-to-long v8, v0

    .line 22
    iget-wide v10, v5, Les/cd$m;->a:J

    cmp-long v6, v8, v10

    if-lez v6, :cond_6

    iget-wide v5, v5, Les/cd$m;->b:J

    cmp-long v10, v8, v5

    if-gez v10, :cond_6

    .line 23
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->h:Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;

    long-to-int v2, v5

    invoke-virtual {v0, v2}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->seekTo(I)V

    .line 24
    iget v0, p0, Lcom/esfile/screen/recorder/player/h;->a:I

    const/4 v2, 0x3

    if-ne v0, v2, :cond_5

    .line 25
    iput v7, p0, Lcom/esfile/screen/recorder/player/h;->a:I

    .line 26
    :cond_5
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/videos/edit/player/c;->getCurrentPosition()I

    move-result v0

    .line 27
    invoke-direct {p0, v0, v1}, Lcom/esfile/screen/recorder/videos/edit/player/c;->a(II)V

    return-void

    .line 28
    :cond_6
    invoke-direct {p0, v3, v4, v2}, Lcom/esfile/screen/recorder/videos/edit/player/c;->a(III)V

    .line 29
    invoke-direct {p0, v0, v1}, Lcom/esfile/screen/recorder/videos/edit/player/c;->a(II)V

    return-void
.end method

.method public e(I)V
    .locals 0

    .line 2
    invoke-direct {p0, p1}, Lcom/esfile/screen/recorder/videos/edit/player/c;->g(I)I

    move-result p1

    .line 3
    invoke-virtual {p0, p1}, Lcom/esfile/screen/recorder/videos/edit/player/c;->c(I)V

    return-void
.end method

.method public f(I)Landroid/graphics/RectF;
    .locals 1

    const/4 v0, 0x0

    .line 2
    invoke-virtual {p0, p1, v0}, Lcom/esfile/screen/recorder/videos/edit/player/c;->a(IZ)Landroid/graphics/RectF;

    move-result-object p1

    return-object p1
.end method

.method public getAllSectionProgress()I
    .locals 3

    .line 1
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/videos/edit/player/c;->getProgress()I

    move-result v0

    .line 2
    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->P:Les/td;

    if-eqz v1, :cond_0

    .line 3
    invoke-interface {v1}, Les/td;->a()I

    move-result v1

    add-int/2addr v0, v1

    .line 4
    :cond_0
    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->Q:Les/td;

    if-eqz v1, :cond_1

    .line 5
    invoke-interface {v1}, Les/td;->a()I

    move-result v1

    add-int/2addr v0, v1

    .line 6
    :cond_1
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "getAllSectionProgress:"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    const-string v2, "VideoRenderPlayer"

    invoke-static {v2, v1}, Lcom/esfile/screen/recorder/utils/n;->d(Ljava/lang/String;Ljava/lang/String;)V

    return v0
.end method

.method public getCurrentPosition()I
    .locals 3

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->h:Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;

    invoke-virtual {v0}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->getCurrentPosition()I

    move-result v0

    .line 2
    iget v1, p0, Lcom/esfile/screen/recorder/player/h;->a:I

    const/4 v2, 0x3

    if-ne v1, v2, :cond_0

    .line 3
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/videos/edit/player/c;->getDuration()I

    move-result v0

    :cond_0
    return v0
.end method

.method public getDuration()I
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->h:Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;

    invoke-virtual {v0}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->getDuration()I

    move-result v0

    return v0
.end method

.method public getIntroAndOutroContainer()Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/IntroOutroTemplateContainer;
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->N:Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/IntroOutroTemplateContainer;

    return-object v0
.end method

.method public getMaxProgress()I
    .locals 2

    .line 1
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/videos/edit/player/c;->getDuration()I

    move-result v0

    .line 2
    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->r:Les/cd;

    invoke-direct {p0, v0, v1}, Lcom/esfile/screen/recorder/videos/edit/player/c;->a(ILes/cd;)I

    move-result v0

    return v0
.end method

.method protected getMediaController()Landroid/view/View;
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->i:Lcom/esfile/screen/recorder/videos/edit/player/b;

    return-object v0
.end method

.method public getProgress()I
    .locals 2

    .line 1
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/videos/edit/player/c;->getCurrentPosition()I

    move-result v0

    .line 2
    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->r:Les/cd;

    invoke-direct {p0, v0, v1}, Lcom/esfile/screen/recorder/videos/edit/player/c;->b(ILes/cd;)I

    move-result v0

    return v0
.end method

.method protected getUpdatePlayTime()I
    .locals 1

    const/16 v0, 0x14

    return v0
.end method

.method public h()V
    .locals 2

    .line 2
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->i:Lcom/esfile/screen/recorder/videos/edit/player/b;

    if-eqz v0, :cond_0

    .line 3
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/videos/edit/player/c;->c()Z

    move-result v1

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/videos/edit/player/b;->setPlayState(Z)V

    :cond_0
    return-void
.end method

.method protected abstract i()Lcom/esfile/screen/recorder/videos/edit/player/b;
.end method

.method protected abstract j()V
.end method

.method public k()Z
    .locals 1

    .line 2
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->h:Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;

    invoke-virtual {v0}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->isPlaying()Z

    move-result v0

    return v0
.end method

.method public l()V
    .locals 1

    .line 2
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/videos/edit/player/c;->m()V

    const/4 v0, 0x0

    .line 3
    invoke-virtual {p0, v0}, Lcom/esfile/screen/recorder/player/h;->a(I)V

    return-void
.end method

.method public m()V
    .locals 1

    .line 2
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->P:Les/td;

    if-eqz v0, :cond_0

    .line 3
    invoke-interface {v0}, Les/td;->pause()V

    .line 4
    :cond_0
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->Q:Les/td;

    if-eqz v0, :cond_1

    .line 5
    invoke-interface {v0}, Les/td;->pause()V

    .line 6
    :cond_1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->O:Les/td;

    if-eqz v0, :cond_2

    .line 7
    invoke-interface {v0}, Les/td;->isPlaying()Z

    move-result v0

    if-eqz v0, :cond_2

    .line 8
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->O:Les/td;

    invoke-interface {v0}, Les/td;->pause()V

    :cond_2
    return-void
.end method

.method public n()V
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->h:Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;

    invoke-virtual {v0}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->b()V

    .line 2
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->h:Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;

    invoke-virtual {v0}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->pause()V

    const/4 v0, 0x0

    .line 3
    invoke-virtual {p0, v0}, Lcom/esfile/screen/recorder/videos/edit/player/c;->d(I)V

    .line 4
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->N:Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/IntroOutroTemplateContainer;

    if-eqz v0, :cond_0

    .line 5
    invoke-virtual {v0}, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/IntroOutroTemplateContainer;->a()V

    .line 6
    :cond_0
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/player/h;->f()V

    return-void
.end method

.method public final o()V
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->r:Les/cd;

    if-nez v0, :cond_0

    return-void

    .line 2
    :cond_0
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/player/c;->w()V

    .line 3
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/player/h;->f()V

    return-void
.end method

.method protected onLayout(ZIIII)V
    .locals 0

    .line 1
    invoke-super/range {p0 .. p5}, Landroid/widget/FrameLayout;->onLayout(ZIIII)V

    .line 2
    iget p1, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->p:I

    if-lez p1, :cond_0

    iget p1, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->q:I

    if-gtz p1, :cond_1

    .line 3
    :cond_0
    invoke-virtual {p0}, Landroid/widget/FrameLayout;->getWidth()I

    move-result p1

    iput p1, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->p:I

    .line 4
    sget p1, Les/x4;->video_view_root:I

    invoke-virtual {p0, p1}, Landroid/widget/FrameLayout;->findViewById(I)Landroid/view/View;

    move-result-object p1

    invoke-virtual {p1}, Landroid/view/View;->getHeight()I

    move-result p1

    iput p1, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->q:I

    .line 5
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/player/c;->v()V

    :cond_1
    return-void
.end method

.method public p()V
    .locals 2

    .line 1
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/player/c;->y()V

    .line 2
    iget-object v0, p0, Lcom/esfile/screen/recorder/player/h;->f:Landroid/os/Handler;

    const/4 v1, 0x2

    invoke-virtual {v0, v1}, Landroid/os/Handler;->removeMessages(I)V

    .line 3
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->N:Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/IntroOutroTemplateContainer;

    invoke-virtual {v0}, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/IntroOutroTemplateContainer;->e()V

    return-void
.end method

.method public setBackgroundView(Landroid/view/View;)V
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->l:Landroid/widget/FrameLayout;

    invoke-virtual {v0}, Landroid/widget/FrameLayout;->removeAllViews()V

    if-eqz p1, :cond_0

    .line 2
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->l:Landroid/widget/FrameLayout;

    invoke-virtual {v0, p1}, Landroid/widget/FrameLayout;->addView(Landroid/view/View;)V

    .line 3
    iget-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->l:Landroid/widget/FrameLayout;

    const/4 v0, 0x0

    invoke-virtual {p1, v0}, Landroid/widget/FrameLayout;->setVisibility(I)V

    goto :goto_0

    .line 4
    :cond_0
    iget-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->l:Landroid/widget/FrameLayout;

    const/16 v0, 0x8

    invoke-virtual {p1, v0}, Landroid/widget/FrameLayout;->setVisibility(I)V

    .line 5
    :goto_0
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/player/c;->v()V

    return-void
.end method

.method public setCropRect(Landroid/graphics/RectF;)V
    .locals 2

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->h:Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;

    const/4 v1, 0x1

    invoke-virtual {v0, p1, v1}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->a(Landroid/graphics/RectF;Z)V

    return-void
.end method

.method public setIntroSection(Les/ud;)V
    .locals 2
    .param p1    # Les/ud;
        .annotation build Landroidx/annotation/Nullable;
        .end annotation
    .end param

    if-nez p1, :cond_0

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->P:Les/td;

    if-eqz v0, :cond_0

    const/4 v1, 0x0

    .line 2
    invoke-interface {v0, v1}, Les/td;->a(Les/td$a;)V

    :cond_0
    if-eqz p1, :cond_1

    .line 3
    new-instance v0, Lcom/esfile/screen/recorder/videos/edit/player/c$c;

    invoke-direct {v0, p0}, Lcom/esfile/screen/recorder/videos/edit/player/c$c;-><init>(Lcom/esfile/screen/recorder/videos/edit/player/c;)V

    invoke-virtual {p1, v0}, Les/ud;->a(Les/td$a;)V

    .line 4
    :cond_1
    iput-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->P:Les/td;

    .line 5
    iget p1, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->v:I

    invoke-virtual {p0, p1}, Lcom/esfile/screen/recorder/videos/edit/player/c;->setMax(I)V

    return-void
.end method

.method public setMax(I)V
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->P:Les/td;

    if-eqz v0, :cond_0

    .line 2
    invoke-interface {v0}, Les/td;->getDuration()I

    move-result v0

    add-int/2addr p1, v0

    .line 3
    :cond_0
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->Q:Les/td;

    if-eqz v0, :cond_1

    .line 4
    invoke-interface {v0}, Les/td;->getDuration()I

    move-result v0

    add-int/2addr p1, v0

    .line 5
    :cond_1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->i:Lcom/esfile/screen/recorder/videos/edit/player/b;

    if-eqz v0, :cond_2

    .line 6
    invoke-virtual {v0, p1}, Lcom/esfile/screen/recorder/player/controller/a;->setMax(I)V

    :cond_2
    return-void
.end method

.method public setMediaControllerVisibility(I)V
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->i:Lcom/esfile/screen/recorder/videos/edit/player/b;

    invoke-virtual {v0, p1}, Landroid/widget/FrameLayout;->setVisibility(I)V

    return-void
.end method

.method public setOnSeekBarChangeListener(Landroid/widget/SeekBar$OnSeekBarChangeListener;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->J:Landroid/widget/SeekBar$OnSeekBarChangeListener;

    return-void
.end method

.method public setOutroSection(Les/ud;)V
    .locals 2
    .param p1    # Les/ud;
        .annotation build Landroidx/annotation/Nullable;
        .end annotation
    .end param

    if-nez p1, :cond_0

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->Q:Les/td;

    if-eqz v0, :cond_0

    const/4 v1, 0x0

    .line 2
    invoke-interface {v0, v1}, Les/td;->a(Les/td$a;)V

    :cond_0
    if-eqz p1, :cond_1

    .line 3
    new-instance v0, Lcom/esfile/screen/recorder/videos/edit/player/c$d;

    invoke-direct {v0, p0}, Lcom/esfile/screen/recorder/videos/edit/player/c$d;-><init>(Lcom/esfile/screen/recorder/videos/edit/player/c;)V

    invoke-virtual {p1, v0}, Les/ud;->a(Les/td$a;)V

    .line 4
    :cond_1
    iput-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->Q:Les/td;

    .line 5
    iget p1, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->v:I

    invoke-virtual {p0, p1}, Lcom/esfile/screen/recorder/videos/edit/player/c;->setMax(I)V

    return-void
.end method

.method public setPlaybackSpeed(F)V
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->h:Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;

    invoke-virtual {v0, p1}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->setPlaybackSpeed(F)V

    return-void
.end method

.method public setTimeRenderFlags(I)V
    .locals 0

    .line 1
    invoke-direct {p0, p1}, Lcom/esfile/screen/recorder/videos/edit/player/c;->setFlags(I)V

    return-void
.end method

.method public setVideoEditPlayerInfo(Les/cd;)V
    .locals 1

    .line 1
    iput-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->r:Les/cd;

    const/16 p1, 0x10

    .line 2
    invoke-direct {p0, p1}, Lcom/esfile/screen/recorder/videos/edit/player/c;->h(I)Z

    move-result p1

    if-eqz p1, :cond_2

    .line 3
    iget-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->r:Les/cd;

    iget-object p1, p1, Les/cd;->f:Les/cd$e;

    .line 4
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->N:Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/IntroOutroTemplateContainer;

    invoke-virtual {v0, p0, p1}, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/IntroOutroTemplateContainer;->a(Lcom/esfile/screen/recorder/videos/edit/player/c;Les/cd$e;)V

    if-eqz p1, :cond_1

    .line 5
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/videos/edit/player/c;->m()V

    .line 6
    iget-object v0, p1, Les/cd$e;->a:Les/cd$g;

    if-eqz v0, :cond_0

    .line 7
    iget-boolean p1, v0, Les/cd$g;->l:Z

    iput-boolean p1, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->s:Z

    goto :goto_0

    .line 8
    :cond_0
    iget-object p1, p1, Les/cd$e;->b:Les/cd$g;

    if-eqz p1, :cond_1

    .line 9
    iget-boolean p1, p1, Les/cd$g;->l:Z

    iput-boolean p1, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->s:Z

    .line 10
    :cond_1
    :goto_0
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/videos/edit/player/c;->e()V

    .line 11
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/videos/edit/player/c;->h()V

    .line 12
    :cond_2
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/player/c;->v()V

    return-void
.end method

.method public setVideoPath(Ljava/lang/String;)V
    .locals 1

    .line 1
    invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_0

    return-void

    .line 2
    :cond_0
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->h:Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;

    invoke-virtual {v0, p1}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->setVideoPath(Ljava/lang/String;)V

    return-void
.end method

.method public setVideoSection(Les/td;)V
    .locals 0
    .param p1    # Les/td;
        .annotation build Landroidx/annotation/NonNull;
        .end annotation
    .end param

    .line 1
    iput-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->O:Les/td;

    return-void
.end method

.method public setVolume(F)V
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c;->h:Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;

    invoke-virtual {v0, p1}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->setVolume(F)V

    return-void
.end method
